\end{document}
).
Run LATEX on the whole document, then bibtex on each chapter, then
re-run LATEX on the whole document twice.
A master bibliography for the entire work may be produced in the normal manner, by putting the appropriate commands in the master file and running bibtex on the master file. You can have both bibliographies for each chapter and for the entire work at the same time.